package com.example.scaffold_demo.common;


/**
 * Created by Administrator on 2018/4/18.
 */

public class Constant {


    public static final String ACCESS_TOKEN = "access_token";
    public static final String TIME_DIFFERENCE = "time_difference";// 本地和服务端时间差
    public static final String VISIT_TIME_TIMESTAMP = "timestamp";// 访问服务端的时间戳
    public static final String APP_VERSION_CODE = "app_version_code";// 访问服务端时发送版本号
    public static final String PLATFORM = "platform";// 访问服务端时发送平台
    public static final String ANDROID = "1";// 访问服务端时发送平台
    public static final String CHANNEL = "channel";// 渠道名称
    public static final String APP_VERSION_NAME = "app_version_name";// 版本名称
    public static final String VERSION_NAME = "version_name";// 版本名称

    public static final String ANDROID_ID = "sp_android_id";// 渠道名称
    public static final String DEVICE_ID = "device_id";// 渠道名称
    public static final int APP_ID = 1;// 应用id，版本控制

    public static final String LOG_NETWORK_REQUEST = "NetWork_Request";// 访问网络请求参数log key
    public static final String LOG_NETWORK_RESPONSE = "NetWork_Response";// 访问网络返回结果log key

    public static String DEFAULT_IMAGER_CACHE_PATH = null;// 图片缓存路径
    public static String DEFAULT_IMAGER_SAVE_PATH = null;// 添加图片路径
    public static String DEFAULT_DOWNLOAD_PATH = null;// 下载apk路径
    public static String DEFAULT_VIDEO_PATH = null;// 视频路径

    public static final int REFRESH_STATE_NORMAL = 0;
    public static final int REFRESH_STATE_REFRESH = 1;
    public static final int REFRESH_STATE_LOADMORE = 2;


    public static final int NEED_FORCE_UPDATE = 2;// app强制更新

}

